import Vue from "vue";

import MenuButton from "@/components/MenuButton"; //头部按钮组
import StuTable from "@/components/stuTable"; //表格
import Pagination from "@/components/Pagination"; //分页
import Dialog from "@/components/Dialog"; //弹窗
import Progress from "@/components/progress"; //上传进度

const Components = {
  install: Vue => {
    Vue.component(MenuButton.name, MenuButton); //头部按钮组
    Vue.component(StuTable.name, StuTable); //表格
    Vue.component(Pagination.name, Pagination); //分页
    Vue.component(Dialog.name, Dialog); //弹窗
    Vue.component(Progress.name, Progress); //上传进度
  }
};

Vue.use(Components);
